let server_url="";
let http_host={
    login:"admin/login",
    queryServerState:"admin/server/state",
    serverStart:"admin/server/start",
    serverStop:"admin/server/stop",
    querySaveProperties:"admin/save/properties"
}
let post_header={"Content-Type":"application/json"};
let test=false;
let url_header="";
let url_ender="";
if(test){
    server_url="http://localhost:6968/";
    url_header="/mm_vworld_server/src/main/resources/templates";
    url_ender=".html";
}else{
    server_url=window.location.protocol+"//"+window.location.host+"/";
}